package com.client.clovece;

public class Figure {
	int position;
	int distance;
	
	public Figure(){
		position = 0;
		distance = -1;
	}
	
	public void setDist(int i){
		distance = i;
	}
	
	public void addDist(int i){
		distance +=i;
	}
	
	public int getDist(){
		return distance;
	}
	public void setPos(int i){
		position = i;
	}
	public int getPos(){
		return position;
	}
}
